﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
using System.Threading.Tasks;

namespace JXC.Core.Models
{
    /// <summary>
    /// 报警明细表
    /// </summary>
    public class Alarminfo
    {
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public Guid Id { set; get; }//ID

        [ForeignKey("CommodityInformationSheetId")]
        public string CommodityInformationSheetId { set; get; }//货品编码   
        public string Unit { set; get; }//单位
        public int Stock { set; get; }//库存
        public string Check { set; get; }//此报警信息是否已解决（0-未解决，1-已解决）
        public CommodityInformationSheet CommodityInformationSheet { get; set; }
    }
}
